import request from '@/utils/request'
import qs from "qs"
export default{


    // 添加数据

    addOne(disId,ids){

        
        var data=qs.stringify({disId,ids});

    return request({
        url:'/api-operate/dis-spu/addList',
        method:"post",
        data


    })
    },

    // 清空数据根据优惠券id
    deleteByDisId(disId){

           
        var data=qs.stringify({disId});

    return request({
        url:'/api-operate/dis-spu/deleteByDisId',
        method:"delete",
        data


    })
    }
}